#ifndef __TOKEN_H__
#define __TOKEN_H__

#include "../../l8w8jwt/include/l8w8jwt/encode.h"
#include <stdio.h>
#include <string.h>
#include "sendMsg.h"

typedef struct token_s
{
    int port;
    int userid;
    char Token[1024];
}token_t;


void Encode_Jwt(char* issuer,char* subject,char* audience,char* key,char* jwt_str);

void SendToken(int peerfd,int port,int usrid);

#endif